/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartStyleTextBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartStyleTextDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartStyleTextServiceImp extends
		BaseServiceImp<ChartStyleTextBean> implements ChartStyleTextService {

	public ChartStyleTextServiceImp(){
		super();
	}
	
	protected ChartStyleTextDao chartStyleTextDao;
	
	public void setChartStyleTextDao(ChartStyleTextDao chartStyleTextDao) {
		this.chartStyleTextDao = chartStyleTextDao;
	}

	
	
	
	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartStyleTextService#deleteChartStyleTextBean(java.lang.String)
	 */
	@Override
	public int deleteChartStyleTextBean(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartStyleTextDao.deleteChartStyleTextBean(id);
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartStyleTextService#insertChartStyleTextBean(com.pcbly.web.bean.chart.ChartStyleTextBean)
	 */
	@Override
	public int insertChartStyleTextBean(ChartStyleTextBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleTextDao.insertChartStyleTextBean(bean);
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartStyleTextService#queryChartStyleTextBeanById(java.lang.String)
	 */
	@Override
	public ChartStyleTextBean queryChartStyleTextBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleTextDao.queryChartStyleTextBeanById(id);
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartStyleTextService#queryList()
	 */
	@Override
	public List<ChartStyleTextBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartStyleTextDao.queryList();
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartStyleTextService#updateChartStyleTextBean(com.pcbly.web.bean.chart.ChartStyleTextBean)
	 */
	@Override
	public int updateChartStyleTextBean(ChartStyleTextBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartStyleTextDao.updateChartStyleTextBean(bean);
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
